package com.jf.hotelreservation.demos.mapper;

import com.jf.hotelreservation.demos.bean.Reservation;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ReservationMapper {

    int addReservation(Reservation reservation);

    List<Reservation> queryAll(@Param("currentPage") Integer currentPage,
                               @Param("pageSize") Integer pageSize);

    int count();

}
